package io.renren.modules.store.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 * 
 * @author steakliu
 * @email 2319492349@qq.com
 * @date 2021-01-24 01:14:45
 */
@Data
@TableName("t_store_dining_table")
@Accessors(chain = true)
public class TStoreDiningTableEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 餐台编号
	 */
	private String diningTableNo;

	private Integer number;

	private String prefix;

	private Long storeTypeId;

	private Double money;

	private Date time;

	/**
	 * 餐台名称
	 */
	private String diningTableName;

	//是否主餐桌
	private Integer master;
	//是否从餐桌
	private Integer slave;
	//主餐桌Id
	private Long masterId;
	/**
	 * 所属租户
	 */
	private Long sellerId;
	/**
	 * 最低消費
	 */
	@TableField(exist = false)
	private Double minConsume;
	/**
	 * 所属区域
	 */
	private Long regionId;
	/**
	 * 座位数
	 */
	private Integer seatNum;
	/**
	 * 状态(1空闲2就餐)
	 */
	private Integer status;
	/**
	 * 点餐二维码
	 */
	private String qrCode;

	private String style;
	/**
	 * 备注
	 */
	private String reamrk;

	@TableField(exist = false)
	private Integer diningtableNum;
}
